package com.wondertek.poms.dao.po;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.Proxy;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * <p><b>SystemConfig Description:</b> SystemConfig po类 ; </p>
 *
 * @author 窦再兴
 * <p><b>DATE</b> 2019-07-01 16:31:28</p>
 */
@Data
@Entity
@Table(name = "pc_system_config")
@DynamicUpdate
@DynamicInsert
@Proxy(lazy = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SystemConfig implements java.io.Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = 4761346991190406057L;

	/**
	 * <b>Fields</b> id : 配置id
	 * SEQ_SYSTEM_CONFIG_ID
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_SYSTEM_CONFIG_ID")
	@SequenceGenerator(name = "SEQ_SYSTEM_CONFIG_ID", sequenceName = "SEQ_SYSTEM_CONFIG_ID", allocationSize = 1)
	private Long id;

	/**
	 * <b>Fields</b> key : 系统配置参数
	 */
	private String ckey;

	/**
	 * <b>Fields</b> value : 系统配置值
	 */
	private String value;

	/**
	 * <b>Fields</b> description : 系统配置描述
	 */
	private String description;

	/**
	 * <b>Fields</b> version : 版本
	 */
	private String version;

	/**
	 * <b>Fields</b> deleted : 是否删除 1:是 0:否
	 */
	private Integer deleted;


}